package com.example.alee.ALeeSpringWeb.config;

import com.example.alee.ALeeSpringWeb.bean.SecurityLib;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ApplicationConfig {

    @ConfigurationProperties(prefix = "security-lib")
    @Bean
    public SecurityLib createSecurity() {
        return new SecurityLib();
    }


}
